package com.dongjiantong.biz.mapper;


import com.dongjiantong.biz.model.EarMarkLife;
import com.dongjiantong.mybatis.MyMapper;

import java.util.List;
import java.util.Map;

public interface EarMarkLifeMapper extends MyMapper<EarMarkLife>{
    /**
     * 通过单据id查询
     * @param map
     * @return
     */
    List<String> findListByBreedReportId(Map<String , Object> map);

    /**
     * 通过关联单据id和type删除单据
     * @param earDeleteParamMap
     */
    void deleteByReportIdAndType(Map<String, Object> earDeleteParamMap);

    void updateMarks(Map<String, Object> map);
}